<template>
  <!-- 导航组件 -->
  <div id="navbar">
    <van-nav-bar :title="navbarText"
                 left-arrow
                 @click-left="$router.go(-1)" />
  </div>
</template>

<script>
export default {
  props: {
    navbarText: {
      type: String,
      require: true
    }
  }
}
</script>

<style scoped>
#navbar /deep/ .van-nav-bar .van-icon {
  color: #000;
  font-size: 0.6rem;
}
</style>